<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>
<script>
  var count = 0;
  var h = 5;
  while (h >= 0.1) {
    h *= 0.3;
    count++;
  }
  console.log(count);

  var count1 = 0;
  var h1 = 0.001;
  while (h1 <= 8848) {
    h1 *= 2;
    count1++;
  }
  console.log(count1);
</script>
